Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump mitt from 2.1.0 to 3.0.1 #1449

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 24, 2023

Bumps mitt from 2.1.0 to 3.0.1.

Release notes

Sourced from mitt's releases.

3.0.1

What's Changed

New Contributors

Full Changelog: developit/mitt@3.0.0...3.0.1

3.0.0

Mitt 3.0 adds a couple nice new features.

1. Remove all handlers of a type:

Calling .off("type") with no handler argument now removes all listeners of that type (#123, #124, #129 - thanks @​sealice!).

2. New, stronger typing:

It's now possible to define explicit types for events and their arguments (#114, thanks @​iyegoroff & @​deskoh):

import mitt from 'mitt';
const events = mitt<{ foo: string }>();
events.on('foo', e => {});  // `e` is inferred to be of type string!
events.emit('foo', 42);  // TypeError: got a number, expected a string

3. Package Exports:

As of 3.0.0, the mitt package now uses Package Exports. This shouldn't change usage or anything, it just means you're more likely to end up using the ES Module version of Mitt when running in Node.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner July 24, 2023 11:30
@dependabot dependabot bot added dependabot dependencies Pull requests that update a dependency file labels Jul 24, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.1 branch from 7e8c00b to 1926510 Compare July 25, 2023 11:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.1 branch from 1926510 to f64f1ff Compare July 28, 2023 08:48
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.1 branch from f64f1ff to 798dd37 Compare August 4, 2023 08:48
Bumps [mitt](https://github.com/developit/mitt) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/developit/mitt/releases)
- [Commits](developit/mitt@2.1.0...3.0.1)

---
updated-dependencies:
- dependency-name: mitt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/mitt-3.0.1 branch from 798dd37 to 88f0e7c Compare August 4, 2023 08:57
@github-actions
Copy link

Marking pull request as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Sep 24, 2023
@anho anho closed this Jul 22, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 22, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/master/mitt-3.0.1 branch July 22, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependabot dependencies Pull requests that update a dependency file stale Used to mark when there was no activity for a set period of time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant